Replace changesets 10521, 10526, and 10527 with this new version that does not
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 29 Jun 2006 10:13:11 +0000 (11:13 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 29 Jun 2006 10:13:11 +0000 (11:13 +0100)
commitee590e60840e151cdfa7548b71f9a9e55618a7fb
treeca3deedb92489f22169738a1eed7801a9af2785d
parent4a9f0032ae4dd7d46522f960e6c315955b17c6ac
Replace changesets 10521, 10526, and 10527 with this new version that does not
use xml.marshal.

  This patch adds new xm subcommands to support working with resource
  labels.  The new subcommands are 'xm resources', 'xm rmlabel', 'xm
  getlabel' and 'xm dry-run'.  In addition, the 'xm addlabel' subcommand
  now uses an updated syntax to support labeling both domains and
  resources.  See the xm man page for details on each subcommand.

  Beyond the new subcommands, this patch allows users to immediately see
  when security checks will fail by pushing some basic security checking
  into the beginning of 'xm create' and 'xm block-attach'.  ACM security
  attributes for block devices are added to XenStore in order to support
  the final security enforcement, which will be performed in the kernel
  and included in a separate patch.

Signed-off-by: Bryan D. Payne <bdpayne@us.ibm.com>
Signed-off-by: Reiner Sailer <sailer@us.ibm.com>
tools/python/xen/util/dictio.py [new file with mode: 0644]
tools/python/xen/util/security.py
tools/python/xen/xm/addlabel.py
tools/python/xen/xm/getlabel.py
tools/python/xen/xm/resources.py
tools/python/xen/xm/rmlabel.py